package eu.opensepa.lab.ouranos.model;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name="ACCOUNT")
public class Account extends BaseEntity {
	
	public static Account newAccount(String iban) {
		Account x = new Account();
		x.setIban(iban);
		return x;
	}
	
	@Basic
	@Column(name="IBAN")
	private String iban;

	public String getIban() {
		return iban;
	}

	public void setIban(String name) {
		this.iban = name;
	}
	
}
